package com.css.fxfzypg.modules.resultupload.service;

import com.css.fxfzypg.modules.resultupload.repository.entity.ResultEntity;
import com.css.fxfzypg.modules.resultupload.vo.TaskVo;
import com.css.fxfzypg.modules.resultupload.repository.entity.PrefectureResultEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface ResultService {


    Map<String, Object> uploadPrefectureResult(MultipartFile file, String taskCode);

    Map<String, Object> getTaskList(TaskVo taskVo, int curPage, int pageSize);

    List<PrefectureResultEntity> getPrefectureResult(String taskCode);

    Map<String, Object> uploadResult(MultipartFile file, String taskCode);

    List<ResultEntity> getResult(String taskCode);

    int getPrefectureResultCount(String taskCode);

    int getResultCount(String taskCode);

}
